mod value using scientific calculator